package com.xin.springclouduser.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;


import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
@DynamicUpdate
public class User {
    @Id
    private String id;

    private String nickname;

    private String phone;

    private String password;

    private String headImage;

    private String desction;  //描述

    private Date createTime;

    private Date updateTime;
}
